#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include <QMenuBar>
#include <QMenu>
#include <QAction>
#include <QPainter>
#include <QTimer>
#include <QLabel>
#include <QDebug>
#include <QPropertyAnimation>
#include <QSound>


#include "mycoin.h"
#define cout qDebug() << "[" << __FILE__ << ":" << __LINE__ << "]"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
//    explicit PlayScene(QWidget *parent = nullptr);
    PlayScene(int levelNum);

    int levelIdx;   // 记录所选的关卡

protected:
    void paintEvent(QPaintEvent *event);

signals:
    void backToLevelSceneSignal();

private:
    int gameArray[4][4];
    MyCoin *coinBtn[4][4];

    bool isWin;

public slots:
};

#endif // PLAYSCENE_H
